#coding:utf-8

from google.appengine.ext import db

class GougouLatestFilm(db.Model):
    title = db.StringProperty(required=True)
    permalink = db.StringProperty(required=True)
    content = db.TextProperty()
    update_time = db.DateTimeProperty(auto_now_add=True)
    
class UrlMapIndex(db.Model):
    max_index = db.IntegerProperty(required=True, default=0)
    
class UrlMap(db.Model):
    index = db.IntegerProperty(required=True)
    url = db.StringProperty(required=True)
 